/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.iasd.youthshelter.datamodel.service;

import java.util.List;
import org.openide.util.Lookup;
import pt.iasd.youthshelter.datacore.controller.exceptions.NonexistentEntityException;
import pt.iasd.youthshelter.datamodel.Honor;

/**
 *
 * @author Rui
 */
public interface HonorController extends Lookup.Provider {

    void create(Honor honor);

    void destroy(Integer id) throws NonexistentEntityException;

    void edit(Honor honor) throws NonexistentEntityException, Exception;

    Honor findHonor(Integer id);

    List<Honor> findHonorEntities();

    List<Honor> findHonorEntities(int maxResults, int firstResult);

    int getHonorCount();
    
}
